-- GENERATED SPELL FOR [Greater Barrens Kodo] --


function spell0_3235(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_3235', 3000, 1)
end

function Sorts_3235(pUnit, Event)
local choix_sorts_3235 = math.random(0, 0)
if choix_sorts_3235 == 0 then
pUnit:RegisterEvent('spell0_3235', 1, 1)
end
end

function mob3235_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3235', math.random(1500, 3000), 1)
end

function mob3235_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3235_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3235_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3235, 1, 'mob3235_Action')
RegisterUnitEvent(3235, 2, 'mob3235_Leave')
RegisterUnitEvent(3235, 3, 'mob3235_Kill')
RegisterUnitEvent(3235, 4, 'mob3235_Die')
